home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1994 December / PSL Monthly Shareware CD-ROM (Public Software Library)(December 1994).bin / filesbbs / comb_bbs.bat next >
DOS Batch File  |  1994-11-09  |  911b  |  43 lines

  1. @echo off
  2. if .%1==. goto prompt
  3. goto doit
  4. :prompt
  5. echo  
  6. echo syntax:  COMB_BBS [destination drive, path, and file name]
  7. echo example: COMB_BBS C:\FILES.BBS
  8. echo (NOTE: You MUST enter drive and path, as well as file name)
  9. echo  
  10. goto done
  11. :doit
  12. if not exist %1 goto Ok
  13. echo  
  14. echo %1 already exists. Press Ctrl-Break to abort or
  15. pause
  16. :Ok
  17. cd dos
  18. echo Reading \FILESBBS\DOS directory:
  19. ..\combine *.* %1 DOS\ /A
  20. cd ..\win
  21. echo  
  22. echo Reading \FILESBBS\WIN directory:
  23. ..\combine *.* %1 WIN\ /A
  24. cd ..\os2
  25. echo  
  26. echo Reading \FILESBBS\OS2 directory:
  27. ..\combine *.* %1 OS2\ /A
  28. cd ..\pgm_dos
  29. echo  
  30. echo Reading \FILESBBS\PGM_DOS directory:
  31. ..\combine *.* %1 PGMMING\DOS\ /A
  32. cd ..\pgm_win
  33. echo  
  34. echo Reading \FILESBBS\PGM_WIN directory:
  35. ..\combine *.* %1 PGMMING\WIN\ /A
  36. cd ..
  37. echo  
  38. echo ---DONE---
  39. echo Press ENTER to view %1 or Ctrl-Break to quit.
  40. pause
  41. ..\view %1
  42. :done
  43.